﻿using System;
using System.Collections.Generic;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class MsPointTypeDto
    {
        /// <summary>
        /// 类型UUID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 类型代号
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 阶段类型UUID
        /// </summary>
        public Guid ProjectStandardId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public Guid ProjectGuid { get; set; }

        /// <summary>
        /// 公司Id
        /// </summary>
        public Guid CompanyGuid { get; set; }

        public Guid MsPointTypeId { get; set; }

        /// <summary>
        /// 测量项
        /// </summary>
        public List<MsPointTypeItemDto> MeasureItem { get; set; } = new List<MsPointTypeItemDto>();
    }

    public class MsPointTypeItemDto
    {
        /// <summary>
        /// 测量项Id
        /// </summary>
        public Guid MeasureItemId { get; set; }

        /// <summary>
        /// 选中否
        /// </summary>
        public bool IsChecked { get; set; }

        public string Title { get; set; }
        public string Code { get; set; }

        public string SupportCraft { get; set; }
        public string SupportStandard { get; set; }
        public int Type { get; set; }
        public int HasDesignValue { get; set; }

        /// <summary>
        /// 阶段类型UUID
        /// </summary>
        public Guid ProjectStandardId { get; set; }

        public Guid ProjectGuid { get; set; }
        public Guid CompanyGuid { get; set; }
        public Guid MsPointTypeMeasureItemId { get; set; }

        public Guid? MsPointTypeId { get; set; }
    }

    public class PointTypeCondition
    {
        /// <summary>
        /// 项目标准库Id
        /// </summary>
        public Guid ProjectStandardId { get; set; }

        /// <summary>
        /// 户型图Id
        /// </summary>
        public Guid? HouseMapId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public Guid ProjectGuid { get; set; }
    }
}